package com.roomio.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.roomio.core.security.model.User;
import com.roomio.dao.UserGroupDAO;
import com.roomio.domain.Group;
import com.roomio.domain.UserGroup;
import com.roomio.service.UserGroupService;

@Service
@Transactional
public class UserGroupServiceImpl implements UserGroupService{
	@Autowired
	private UserGroupDAO userGroupDao;
	
	@Override
	public UserGroup persist(UserGroup userGroup) {
		userGroupDao.save(userGroup);
		return null;
	}
}
